package com.qf.attendance.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * zrx-绩效
 */
@ApiModel(description = "zrx-绩效")
@Data
@TableName(value = "merits")
public class Merits {
    public static final String COL_MERITS_ID = "merits_id";
    public static final String COL_UID = "uid";
    public static final String COL_USER_NAME = "user_name";
    public static final String COL_DEPT_ID = "dept_id";
    public static final String COL_WRITE_TIME = "write_time";
    public static final String COL_RATE_TIME = "rate_time";
    public static final String COL_PROCESS_TIME = "process_time";
    public static final String COL_CHECK = "check";
    public static final String COL_STATUS = "status";
    public static final String COL_TRANSACTORS_ID = " transactors_id";
    public static final String COL_OPTIME = "optime";
    public static final String COL_IS_DEL = "is_del";
    /**
     * 主键
     */
    @TableId(value = "merits_id", type = IdType.INPUT)
    @ApiModelProperty(value = "主键")
    private Integer meritsId;
    /**
     * 员工ID
     */
    @TableField(value = "`uid`")
    @ApiModelProperty(value = "员工ID")
    private Integer uid;
    /**
     * 员工姓名
     */
    @TableField(value = "user_name")
    @ApiModelProperty(value = "员工姓名")
    private String userName;
    /**
     * 部门ID
     */
    @TableField(value = "dept_id")
    @ApiModelProperty(value = "部门ID")
    private Integer deptId;
    /**
     * 绩效填写时间
     */
    @TableField(value = "write_time")
    @ApiModelProperty(value = "绩效填写时间")
    private String writeTime;
    /**
     * 绩效评价时间
     */
    @TableField(value = "rate_time")
    @ApiModelProperty(value = "绩效评价时间")
    private String rateTime;
    /**
     * 绩效审核时间
     */
    @TableField(value = "process_time")
    @ApiModelProperty(value = "绩效审核时间")
    private String processTime;
    /**
     * 考核周期
     */
    @TableField(value = "`check`")
    @ApiModelProperty(value = "考核周期")
    private String check;
    /**
     * 审核状态 0审核中 1审核完成
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "审核状态 0审核中 1审核完成")
    private Integer status;
    /**
     * 审核人ID
     */
    @TableField(value = "` transactors_id`")
    @ApiModelProperty(value = "审核人ID")
    private Integer transactorsId;
    /**
     * 操作时间
     */
    @TableField(value = "optime")
    @ApiModelProperty(value = "操作时间")
    private Date optime;
    /**
     * 假删除 0表示未删除 1表示删除
     */
    @TableField(value = "is_del")
    @ApiModelProperty(value = "假删除 0表示未删除 1表示删除")
    @TableLogic(value = "0", delval = "1")
    private Integer isDel;
}